# -*- coding: utf-8 -*-
# !/usr/bin/env python

# import xgboost as xgb
"""日了狗了，mac m1芯片安装不了xgboost"""
from sklearn import svm


X = [[0, 0], [1, 1]]
y = [0, 1]
clf = svm.SVC()
clf.fit(X, y)
retult = clf.predict([[0, 0.5]])
